package com.wzh.houseEs.vo;

import lombok.Data;
import org.apache.lucene.search.TotalHits;

import java.util.List;

/**
 * @author WZH
 * @title: SearchResultVo
 * @projectName find_house
 * @description:
 * @date 2022/3/25
 */
@Data
public class SearchResultVo {
    //所有房屋信息
    private List<NewHouseVo> newHouses;

    //当前页
    private Integer pageNum;

    //每页几条
    private Integer pageSize;

    //总记录数
    private Long total;

    //查询所设计到的属性
    private List<AttrValues> attrValues;

    @Data
    public static class AttrValues {
        private String attrName;
        private List<String> attrValue;
    }
}
